<template>
  <div class="user-header"><img :src="avatar" alt="" /></div>
</template>

<script setup lang="ts">
defineProps<{
  avatar: string
}>()
</script>

<style lang="scss" scoped>
.user-header {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 100%;
  overflow: hidden;
  img {
    width: 100%;
  }
}
</style>
